|
|
typedef BasicPropertyType< bool > | Obd2ConnectType |
| |
| enum | Operations { Get = 0x01,
Set = 0x02,
GetRanged = 0x04
} |
| | The Operations enum is a bitmask flag used to specify which operations are supported by the source plugin.
|
| |
|
|
int | portHandle |
| |
|
PropertyList | queuedRequests |
| |
|
bool | clientConnected |
| |
|
PropertyList | activeRequests |
| |
|
PropertyList | removeRequests |
| |
|
GAsyncQueue * | commandQueue |
| |
|
GAsyncQueue * | statusQueue |
| |
|
GAsyncQueue * | subscriptionAddQueue |
| |
|
GAsyncQueue * | subscriptionRemoveQueue |
| |
|
GAsyncQueue * | singleShotQueue |
| |
|
GAsyncQueue * | responseQueue |
| |
|
std::list< std::string > | m_blacklistPidList |
| |
|
std::map< std::string, int > | m_blacklistPidCountMap |
| |
|
std::string | m_port |
| |
|
std::string | m_baud |
| |
|
bool | m_isBluetooth |
| |
|
std::string | m_btDeviceAddress |
| |
|
std::string | m_btAdapterAddress |
| |
|
std::vector< AsyncPropertyReply * > | propertyReplyList |
| |
|
obdLib * | obd |
| |
|
bool | m_threadLive |
| |
|
GThread * | m_gThread |
| |
|
Obd2ConnectType | obd2Connected |
| |
pure virtual methods:
getPropertyAsync is called when a sink requests the value for given property. This is only called if the source supports the Get operation (
- See Also
- Operation)
- Parameters
-
- See Also
- AsyncPropertyReply
Implements AbstractSource.
| PropertyInfo OBD2Source::getPropertyInfo |
( |
const VehicleProperty::Property & |
property | ) |
|
|
virtual |
getPropertyInfo used to return specific information about a property
- See Also
- PropertyInfo the source should override this otherwise a PropertyInfo::invalid() will be returned for the property
- Parameters
-
| property | the property to get info for. |
- Returns
- a PropertyInfo object.
Implements AbstractSource.
getRangePropertyAsync is called when a sink requests a series of values for a given property within a specified time or sequencial range. This will only be called if the source support the Ranged Operation (
- See Also
- Operations)
- Parameters
-
| reply | is the reply variable. |
- See Also
- AsyncRangePropertyReply
Implements AbstractSource.
setProperty is called when a sink requests to set a value for a given property. This is only called if the source supports the Set Operation (
- See Also
- Operation)
- Parameters
-
| request | the requested property to set. |
- Returns
- returns a pointer to the new value for the property.
- See Also
- AsyncPropertyReply
Implements AbstractSource.
| void OBD2Source::subscribeToPropertyChanges |
( |
VehicleProperty::Property |
property | ) |
|
|
virtual |
subscribeToPropertyChanges is called when a sink requests a subscription. Source plugins can keep track of subscriptions and may wish to sleep if there are no subscriptions.
- Parameters
-
| property | the property that is being subscribed. |
- See Also
- unsubscribeToPropertyChanges
Implements AbstractSource.
| PropertyList OBD2Source::supported |
( |
| ) |
|
|
virtual |
supported
- Returns
- returns the supported properties.
Implements AbstractSource.
| void OBD2Source::supportedChanged |
( |
const PropertyList & |
supportedProperties | ) |
|
|
inlinevirtual |
| int OBD2Source::supportedOperations |
( |
| ) |
|
|
virtual |
| void OBD2Source::unsubscribeToPropertyChanges |
( |
VehicleProperty::Property |
property | ) |
|
|
virtual |
unsubscribeToPropertyChanges is called when a sink requests to unsubscribe from a given property's changes.
- Parameters
-
| property | the property to unsubscribe to |
- See Also
- subscribeToPropertyChanges
Implements AbstractSource.
| const string OBD2Source::uuid |
( |
| ) |
|
|
virtual |
Pure virtual methods:
uuid() is a unique identifier
- Returns
- a guid-style unique identifier
Implements AbstractSink.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/automotive-message-broker-0.15/plugins/obd2plugin/obd2source.h