Showing the changes to Source/Libraries/Adapters/CSampleAdapters/CInputAdapter.cpp (1 of 915 files). Show all
Unified · Split
| @@ -0,0 +1,69 @@ | |||
| 1 | //****************************************************************************************************** | ||
| 2 | // CInputAdapter.cpp - Gbtc | ||
| 3 | // | ||
| 4 | // Copyright � 2012, Grid Protection Alliance. All Rights Reserved. | ||
| 5 | // | ||
| 6 | // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See | ||
| 7 | // the NOTICE file distributed with this work for additional information regarding copyright ownership. | ||
| 8 | // The GPA licenses this file to you under the Eclipse Public License -v 1.0 (the "License"); you may | ||
| 9 | // not use this file except in compliance with the License. You may obtain a copy of the License at: | ||
| 10 | // | ||
| 11 | // http://www.opensource.org/licenses/eclipse-1.0.php | ||
| 12 | // | ||
| 13 | // Unless agreed to in writing, the subject software distributed under the License is distributed on an | ||
| 14 | // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the | ||
| 15 | // License for the specific language governing permissions and limitations. | ||
| 16 | // | ||
| 17 | // Code Modification History: | ||
| 18 | // ---------------------------------------------------------------------------------------------------- | ||
| 19 | // 01/26/2012 - J. Ritchie Carroll | ||
| 20 | // Generated original version of source code. | ||
| 21 | // | ||
| 22 | //****************************************************************************************************** | ||
| 23 | |||
| 24 | #include "stdafx.h" | ||
| 25 | #include "CInputAdapter.h" | ||
| 26 | |||
| 27 | using namespace CSampleAdapters; | ||
| 28 | |||
| 29 | #pragma region [ Property Implementations ] | ||
| 30 | |||
| 31 | // Gets the flag indicating if this CInputAdapter supports temporal processing. | ||
| 32 | bool CInputAdapter::SupportsTemporalProcessing::get() | ||
| 33 | { | ||
| 34 | return false; | ||
| 35 | } | ||
| 36 | |||
| 37 | // Gets flag that determines if this CInputAdapter uses an asynchronous connection. | ||
| 38 | bool CInputAdapter::UseAsyncConnect::get() | ||
| 39 | { | ||
| 40 | return false; | ||
| 41 | } | ||
| 42 | |||
| 43 | #pragma endregion | ||
| 44 | |||
| 45 | #pragma region [ Method Implementations ] | ||
| 46 | |||
| 47 | // Initializes the CInputAdapter. | ||
| 48 | void CInputAdapter::Initialize() | ||
| 49 | { | ||
| 50 | __super::Initialize(); | ||
| 51 | } | ||
| 52 | |||
| 53 | // Gets a short one-line status of this CInputAdapter. | ||
| 54 | String^ CInputAdapter::GetShortStatus(int maxLength) | ||
| 55 | { | ||
| 56 | return "C++.NET input adapter happily exists..."; | ||
| 57 | } | ||
| 58 | |||
| 59 | // Attempts to connect this CInputAdapter. | ||
| 60 | void CInputAdapter::AttemptConnection() | ||
| 61 | { | ||
| 62 | } | ||
| 63 | |||
| 64 | // Attempts to disconnect this CInputAdapter. | ||
| 65 | void CInputAdapter::AttemptDisconnection() | ||
| 66 | { | ||
| 67 | } | ||
| 68 | |||
| 69 | #pragma endregion | ||