Fovia's C++ Server API
|
Public Member Functions | |
virtual signed int | AskInterface (const BGUID *piid, struct IRoot **ppr)=0 |
virtual signed int | DecRef ()=0 |
virtual signed int | Disconnect ()=0 |
virtual signed int | GetOptions (ENUM_SESSION_RENDER_OPTIONS *)=0 |
virtual signed int | GetServer (IHdrcServer **)=0 |
virtual signed int | GetSessionStatus (ENUM_SESSION_STATUS *pe)=0 |
virtual signed int | GetStream (ENUM_STREAM_CATEGORY Category, ISimpleStream **ppv)=0 |
virtual signed int | GetTraceOptions (ENUM_TRACE_OPTIONS *)=0 |
virtual signed int | IncRef ()=0 |
virtual signed int | SetOptions (ENUM_SESSION_RENDER_OPTIONS e)=0 |
virtual signed int | SetServer (IHdrcServer *)=0 |
virtual signed int | SetStream (ENUM_STREAM_CATEGORY Category, ISimpleStream *pv)=0 |
virtual signed int | SetTraceOptions (ENUM_TRACE_OPTIONS e)=0 |
virtual signed int | Start ()=0 |
virtual signed int | Wait (signed int lWait)=0 |
![]() | |
template<class T > | |
signed int | AskInterface (T **pp) |
Object implementing IHdrcSession responsible for maintaining activity. For example rendering session shall perform:
|
pure virtual |
ask object for another interface
Implements IRoot.
|
pure virtual |
decrements the reference count for the object
Implements IRoot.
|
pure virtual |
Get session status This function simply returns the session status and tells of it is connected or disconnected
Exmaple:
pe | is a pointer to a enumeration type BCOM_THIS_ ENUM_SESSION_STATUS |
|
pure virtual |
Get stream used for logging, error reporting
This function allows to get type of stream set ffor one of the following types.
The allowed types of streams for following
Example:
Category | is enumuration of type BCOM_THIS_ ENUM_STREAM_CATEGORY |
ppv | is of type pointer to a pointer of tyep ISimpleStream |
|
pure virtual |
Get trace options
|
pure virtual |
increments the reference count for the object
Implements IRoot.
|
pure virtual |
Set options
|
pure virtual |
Set trace options